package com.matt.repository;

import com.matt.domain.TeachingTempleteArea;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @Describle This Class Is
 * @Author ZengMin
 * @Date 2018/12/19 15:18
 * @Company Matt
 */
public interface TeachingTempleteAreaRepository extends JpaRepository<TeachingTempleteArea,String> {

    List<TeachingTempleteArea> findByTempleteId(String templeteId);

    long deleteByTempleteId(String templeteId);

}
